{extend name="main/index" /}
{block name="main"}
<form action="{:url('admin/images/save')}" method="post" class="form-horizontal"
      style="margin-left: 300px" enctype="multipart/form-data">
    <!--<input type="hidden" value="PUT" name="_method">-->
    <div class="form-group" style="margin-top: 60px; ">
        <label class="col-sm-2 control-label">ID</label>
        <div class="col-sm-4">
            <input name="id" value="" class="form-control" readonly>
        </div>
    </div>

    <div class="form-group" style="margin-top: 30px; ">
        <label class="col-sm-2 control-label">轮播图片</label>
        <div class="col-sm-4">
            <input type="file" name="url" value="">
        </div>
    </div>

    <div class="form-group" style="margin-top: 30px; ">
        <label class="col-sm-2 control-label">对应书的ID</label>
        <div class="col-sm-4">
            <input name="sid" type="text" class="form-control" value="">
        </div>
    </div>




    <div class="form-group" style="margin-top: 30px; ">
        <label class="col-sm-2 control-label">状态</label>
        <div class="col-sm-4">
            <input type="radio" name="statu"  value="0" checked>激活
            <input type="radio" name="statu"  value="0" >禁用
        </div>
    </div>


    <div class="form-group">
        <div class="col-sm-offset-3 col-sm-10">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
    </div>
</form>

{/block}